# 首先杀死调度模块
killall -9 procctl

# 杀死除守护进程外的所有进程
killall cutsurfdata deletefiles gzipfiles ftpgetfiles ftpputfiles

killall fileserver tcpputfiles tcpgetfiles

# 等待5s让进程退出
sleep 5

# 杀死未退出的进程
killall -9 cutsurfdata deletefiles gzipfiles ftpgetfiles ftpputfiles
killall -9 fileserver tcpputfiles tcpgetfiles